GtkButton: Use FLAT style class
authorMatthias Clasen <mclasen@redhat.com>
Fri, 27 Jun 2014 01:59:06 +0000 (21:59 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 27 Jun 2014 02:02:18 +0000 (22:02 -0400)
commit598777166fc6d86fedbe1fa0df6b2afed73378e3
tree3e8fd8db80c632a74e8acce9eb4d9ce2a22139e1
parente6341a0b630635438982b9abe9c02d48041a1bc0
GtkButton: Use FLAT style class

This commit makes button always draw background and frame.
Buttons with relief none get a new style class, FLAT, which
allows themes to style these buttons as they like.

We also (finally) mark GTK_RELIEF_HALF as deprecated. It
has never done anything different from GTK_RELIEF_NORMAL.

https://bugzilla.gnome.org/show_bug.cgi?id=732256
gtk/gtkbutton.c
gtk/gtkbutton.h
gtk/gtkbuttonprivate.h
gtk/gtkenums.h